package com.dfbz.service.Impl;

import com.dfbz.dao.UserDao;
import com.dfbz.model.User;
import com.dfbz.service.UserService;

import javax.management.Query;

public class UserServiceImpl implements UserService {


    public User findByName(String username) {
        UserDao userdao  = new UserDao();
        User userdaoByName = userdao.findByName(username);
        return userdaoByName;

    }
}
